import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { UserComponent } from './user.component';
import { UserInfoComponent } from './userInfo.component';
import { UserService } from '../../service/user.service';
import { PagerModule } from '../../component/pager/pager.module';
import { PageHeaderModule } from '../../component/pageHeader/pageHeader.module';
import { DateTimePickerModule } from '../../component/datetimepicker/datetimepicker.module';

@NgModule({
    imports: [
        CommonModule,
        FormsModule,
        PagerModule,
        PageHeaderModule,
        DateTimePickerModule
    ],
    declarations: [
        UserComponent,
        UserInfoComponent
    ],
    schemas: [
        CUSTOM_ELEMENTS_SCHEMA
    ],
    providers: [
        UserService
    ]
})
export class UserModule { }